package com.ucode.crm.mode;

import com.ucode.tool.base.BaseMode;

/**
 * 顾问团队成员
 * @author: liliang
 * @date: 2020年2月16日 上午11:46:05
 */
public class CrmTeamUser extends BaseMode<Long>{
    
    private static final long serialVersionUID = -8908450712435510357L;
    
    /**
     * 服务目标Id
     */
    private Long targetId;
    /**
     * 服务目标类型
     */
    private Integer targetType;
    /**
     * 成员Id
     */
    private Long userId; 
    /**
     * 权限类型:
     * 1、负责人权限(读写)2、读写权限3、只读权限
     */
    private Integer power;
    
    public CrmTeamUser(){}
    
    public CrmTeamUser(Long targetId, Integer targetType, Long userId, Integer power) {
        super();
        this.targetId = targetId;
        this.targetType = targetType;
        this.userId = userId;
        this.power = power;
    }

    public Long getTargetId() {
        return targetId;
    }
    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }
    public Integer getTargetType() {
        return targetType;
    }
    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }
    public Long getUserId() {
        return userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Integer getPower() {
        return power;
    }
    public void setPower(Integer power) {
        this.power = power;
    }
}
